package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 盘点表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "inventory")
public class Inventory implements Serializable {
    /**
     * 盘点单id
     */
    @TableId(value = "inventory_no", type = IdType.INPUT)
    private Integer inventoryNo;

    /**
     * 盘点仓库
     */
    @TableField(value = "inventory_store")
    private Integer inventoryStore;

    /**
     * 盘点时间
     */
    @TableField(value = "inventory_time")
    private Date inventoryTime;

    /**
     * 产品盘点联表id
     */
    @TableField(value = "goods_inventory_id")
    private Integer goodsInventoryId;

    /**
     * 盘点备注
     */
    @TableField(value = "inventory_notes")
    private String inventoryNotes;

    /**
     * 审核状态
     */
    @TableField(value = "audit_start")
    private Integer auditStart;

    /**
     * 负责人id
     */
    @TableField(value = "owner_user_id")
    private Integer ownerUserId;

    /**
     * 创建时间
     */
    @TableField(value = "inventory_create_time")
    private Date inventoryCreateTime;

    private static final long serialVersionUID = 1L;
}